-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(report/handlers): accept more semver versions #111
Conversation
The current problem we have, specifically, is that since v1.2.0 the mobile apps emit full semver including also the build. This requires several parts of our infrastructure to improve the regexp being used so to validate also this kind of input. See also: measurement-kit/measurement-kit#1388 An earlier version of this diff was blessed by @hellais on Slack and since then I just changed comments.
The build is failing like this:
I don't understand very well what it could be, and it seems like this is something related to the way in which travis is handling the test. I am going to restart it to see if it's deterministic (I actually hope so). |
I am experiencing more errors with the build, like that the keyserver doesn't know the key. 😡 |
Alright, it seems it's time to play golf. |
I really hate these coveralls annoying comments that don't serve any purpose. |
In the end, I decided to rewrite the test that caused a segfault. I believe the problem appeared now that travis has upgraded its infrastructure to 14.04: the previous travis build was for 03d738b and occurred on Apr, 6 when travis was still using 12.04. The original script was brilliant: it did two nested waits to make sure the running process was either killed gracefully or with fire. But probably was too brilliant and triggered some edge case. I did not want to wrestle too much with travis. Also, reading the script, it seems to me it's fine to rewrite it such that, if we cannot kill the background process, the build will hang and then fail (on travis). I guess having the local build hang and the travis build fail is good enough for our purposes. |
Alright, I have read the diff once more. I am going to self bless this as good, given that @hellais already blessed the diff improving the regexp on Slack and that the test changes "look good to me". |
This breaks OONI Backend. See ooni/backend#111 and ooni/sysadmin#164.
This breaks OONI Backend. See ooni/backend#111 and ooni/sysadmin#164.
This breaks OONI Backend. See ooni/backend#111 and ooni/sysadmin#164.
This breaks OONI Backend. See ooni/backend#111 and ooni/sysadmin#164.
The current problem we have, specifically, is that since v1.2.0 the
mobile apps emit full semver including also the build.
This requires several parts of our infrastructure to improve the
regexp being used so to validate also this kind of input.
See also: measurement-kit/measurement-kit#1388
An earlier version of this diff was blessed by @hellais on Slack and
since then I just changed comments.